﻿#region License
// /* **************************************************************
// * Copyright (C) intex Consulting GmbH - All Rights Reserved    *
// *--------------------------------------------------------------*
// * Unauthorized copying of this file, via any medium is         *
// * strictly prohibited                                          *
// *--------------------------------------------------------------*
// * Proprietary and confidential                                 *
// *--------------------------------------------------------------*
// * Dissasembling/modifications strictly prohibited!             *
// ***************************************************************/
#endregion

using System.Diagnostics.CodeAnalysis;
using ComHlp.ContentClasses.VirtualControls;

namespace ComHlp.ContentClasses.Bs
{
    [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
    [SuppressMessage("ReSharper", "AutoPropertyCanBeMadeGetOnly.Global")]
    [SuppressMessage("ReSharper", "UnusedMember.Global")]
    public static class BsGraphicsArea
    {
        ///// <summary> errenous foreColor </summary>
        //public static ItxColor ErrorFgColor { get; internal set; } = new ItxColor(255, 62, 62, 62);

        ///// <summary> errenous backItxColor </summary>
        //public static ItxColor ErrorBgColor { get; internal set; } = new ItxColor(255, 254, 176, 16);

        ///// <summary> message line foreColor </summary>
        //public static ItxColor MsgLineFgColor { get; internal set; } = new ItxColor(255, 62, 62, 62);

        ///// <summary> message line backColor </summary>
        //public static ItxColor MsgLineBgColor { get; internal set; } = new ItxColor(255, 140, 188, 255);

        ///// <summary> gradient settings for message line </summary>
        //public static string MsgLineBgColorGradient { get; internal set; } = "";

        ///// <summary> background foreColor </summary>
        //public static ItxColor BackgroundFgColor { get; internal set; } = new ItxColor(255, 62, 62, 62);

        /// <summary> background backColor </summary>
        public static ItxColor BackgroundBgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> bright input box foreColor </summary>
        //public static ItxColor InputBrightFgColor { get; internal set; } = Colors.Black;

        ///// <summary> bright input box backColor </summary>
        //public static ItxColor InputBrightBgColor { private get; set; } = new ItxColor(255, 252, 252, 252);

        ///// <summary> bright input box foreColor, when selected </summary>
        //public static ItxColor InputBrightSelectedFgColor { get; internal set; } = new ItxColor(255, 62, 62, 62);

        /// <summary> bright input box backColor, when selected </summary>
        public static ItxColor InputBrightSelectedBgColor { get; internal set; } = new ItxColor(255, 255, 210, 119);

        /// <summary> insert mode background </summary>
        public static ItxColor InsertModeBgColor { get; internal set; } = new ItxColor(255, 255, 119, 82);

        ///// <summary> insert mode foreground </summary>
        //public static ItxColor InsertModeFgColor { get; internal set; } = new ItxColor(255, 66, 65, 255);

        ///// <summary> field with constraint backColor, foreColor like inputBright </summary>
        //public static ItxColor ConstraintFieldBgColor { get; internal set; } = new ItxColor(255, 254, 176, 13);

        ///// <summary> bright output box foreColor, only foreColor </summary>
        //public static ItxColor OutputBrightFgColor { get; internal set; } = new ItxColor(255, 62, 62, 62);

        ///// <summary> output ItxColor1 foreColor, only foreColor (KCVORSICHT) </summary>
        //public static ItxColor OutputC1FgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> output Color2 foreColor, only foreColor (KCWARNUNG) </summary>
        //public static ItxColor OutputC2FgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> output Color3 foreColor, only foreColor (KCGEFAHR) </summary>
        //public static ItxColor OutputC3FgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> output Color4 foreColor, only foreColor (KCOBERGEFAHR) </summary>
        //public static ItxColor OutputC4FgItxColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> output Color5 foreColor, only foreColor (KCGUT) </summary>
        //public static ItxColor OutputC5FgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> output Color6 foreColor, only foreColor (KCOBERGUT) </summary>
        //public static ItxColor OutputC6FgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> scrollbar Color </summary>
        //public static ItxColor ScrollBarColor { get; internal set; } = new ItxColor(255, 204, 204, 204);

        ///// <summary> interface foreColor </summary>
        //public static ItxColor InterfaceFgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> interface backColor </summary>
        //public static ItxColor InterfaceBgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> helpfield mark Color </summary>
        //public static ItxColor HelpFieldColor { get; internal set; } = new ItxColor(255, 254, 176, 16);

        /// <summary> Color K1 </summary>
        public static ItxColor K1Color { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> gradient settings for Color k1 </summary>
        public static string K1ColorGradient { get; internal set; } = "";

        /// <summary> Color K2 </summary>
        public static ItxColor K2Color { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> gradient settings for Color k2 </summary>
        public static string K2ColorGradient { get; internal set; } = "";

        /// <summary> Color S1 </summary>
        public static ItxColor S1Color { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> gradient settings for Color s1 </summary>
        public static string S1ColorGradient { get; internal set; } = "";

        /// <summary> Color S2 </summary>
        public static ItxColor S2Color { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> gradient settings for Color s2 </summary>
        public static string S2ColorGradient { get; internal set; } = "";

        ///// <summary> Color Sys1 </summary>
        //public static ItxColor Sys1Color { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> button backColor </summary>
        //public static ItxColor ButtonBgColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> button on mouse </summary>
        //public static ItxColor ButtonHoverColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> Color of the tabs </summary>
        //public static ItxColor TabColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        ///// <summary> Color of the current selected tab </summary>
        //public static ItxColor SelectedTabColor { get; internal set; } = new ItxColor(255, 183, 213, 255);

        /// <summary> font 1 </summary>
        public static ItxFont Font1Window { get; internal set; } = new ItxFont();

        /// <summary> percentual sizing factor for font 2 </summary>
        public static int Font1Factor { get; internal set; }

        /// <summary> font 2 </summary>
        public static ItxFont Font2Input { get; internal set; } = new ItxFont();

        /// <summary> percentual sizing factor for font 2 </summary>
        public static int Font2Factor { get; internal set; }

        /// <summary> fcont c </summary>
        public static ItxFont FontCFixed { get; internal set; } = new ItxFont();

        /// <summary> font 3 </summary>
        public static ItxFont Font3ListView { get; internal set; } = new ItxFont();

        /// <summary> percentual sizing factor for font 3 </summary>
        public static int Font3Factor { get; internal set; }

        ///// <summary> y coordinate offset per row </summary>
        //public static int EditYOffset { get; internal set; } = 0;

        ///// <summary> edit edge value </summary>
        //public static ItxEditEdge EditEdge { get; internal set; } = ItxEditEdge.SingleBorder;

        /// <summary> custom listview Color 1 / 255,220,220,220 /Gainsboro</summary>
        //public static Color ListViewColor1 { get; internal set; } = new ItxColor(255, 255, 120, 80);
        public static ItxColor ListViewColor1 { get; internal set; } = new ItxColor(255, 255, 120, 80);

        /// <summary> custom listview Color 2 / 255,255,228,225 /MistyRose</summary>
        //public static ItxColor ListViewItxColor2 { get; internal set; } = new ItxColor(255, 180, 80, 180);
        public static ItxColor ListViewColor2 { get; internal set; } = new ItxColor(255, 255, 228, 225);

        /// <summary> custom listview Color 3 /  255,152,251,152 / PaleGreen</summary>
        //public static ItxColor ListViewItxColor3 { get; internal set; } = new ItxColor(255, 255, 0, 0);
        public static ItxColor ListViewColor3 { get; internal set; } = new ItxColor(255,152,251,152);

        /// <summary> custom listview Color 4 / 255,230,230,250 / Lavender</summary>
        //public static ItxColor ListViewItxColor4 { get; internal set; } = new ItxColor(255, 192, 0, 0);
        public static ItxColor ListViewColor4 { get; internal set; } = new ItxColor(255, 230, 230, 250);

        /// <summary> custom listview Color 5 / 255,250,250,210 / LightGoldenrodYellow </summary>
        //public static ItxColor ListViewItxColor5 { get; internal set; } = new ItxColor(255, 210, 160, 0);
        public static ItxColor ListViewColor5 { get; internal set; } = new ItxColor(255, 250, 250, 210);

        /// <summary> custom listview Color 6 / 255,218,112,214 / Orchid</summary>
        //public static ItxColor ListViewItxColor6 { get; internal set; } = new ItxColor(255, 0, 160, 0);
        public static ItxColor ListViewColor6 { get; internal set; } = new ItxColor(255, 218, 112, 214);

        /// <summary> custom listview Color 7 / 255,70,130,180 / SteelBlue </summary>
        public static ItxColor ListViewColor7 { get; internal set; } = new ItxColor(255, 70, 130, 180);

        public static string ExcelCommand { get; set; } = "start excel %1";

        public static string MailCommand { get; set; } = "start outlook /a %1";

        public static string Codepage { get; set; } = "";

        public static string ServerTime { get; set; } = "";

        /// <summary> line spacing ??? </summary>
        public static int LineSpacing { get; set; }

        public static string TranslateTable100Yes { get; internal set; } = "J";
        public static string TranslateTable100No { get; internal set; } = "N";
        public static string TranslateTable100Unclear { get; internal set; } = "U";
        public static string TranslateTable100A { get; internal set; } = "A";
        public static string TranslateTable100I { get; internal set; } = "I";
        public static string TranslateTable100K { get; internal set; } = "K";
        public static string TranslateTable100P { get; internal set; } = "P";
        public static string TranslateTable100S { get; internal set; } = "S";
        public static string TranslateTable100R { get; internal set; } = "R";
        public static string TranslateTable100W { get; internal set; } = "W";
        public static string TranslateTable100V { get; internal set; } = "V";
        public static string TranslateTable100T { get; internal set; } = "T";
        public static string TranslateTable100G { get; internal set; } = "G";
        public static string TranslateTable100Star { get; internal set; } = "*";
        public static string TranslateTable1000 { get; internal set; } = "0";
        public static string TranslateTable1001 { get; internal set; } = "1";
        public static string TranslateTable100B { get; internal set; } = "B";
        // ReSharper restore UnusedMember.Global
        // ReSharper restore UnusedAutoPropertyAccessor.Global


        ///// <summary> set the t1 translation values according the received map language </summary>
        ///// <param name="language"></param>
        //public static void SetTranslateTableT1(ItxServerLanguage language)
        //{
        //    switch (language)
        //    {
        //        default:
        //            //case ItxServerLanguage.German:
        //            TranslateTable1New = "N";
        //            TranslateTable1Change = "A";
        //            TranslateTable1Info = "I";
        //            TranslateTable1Copy = "K";
        //            TranslateTable1Delete = "L";
        //            TranslateTable1Cancel = "S";
        //            TranslateTable1Report = "M";
        //            TranslateTable1Select = "X";
        //            TranslateTable1Export = "E";
        //            TranslateTable1Star = "*";
        //            TranslateTable1Check = "P";
        //            break;
        //        case ItxServerLanguage.English:
        //            TranslateTable1New = "N";
        //            TranslateTable1Change = "M";
        //            TranslateTable1Info = "I";
        //            TranslateTable1Copy = "C";
        //            TranslateTable1Delete = "D";
        //            TranslateTable1Cancel = "A";
        //            TranslateTable1Report = "R";
        //            TranslateTable1Select = "X";
        //            TranslateTable1Export = "E";
        //            TranslateTable1Star = "*";
        //            TranslateTable1Check = "P";
        //            break;
        //    }
        //}
    }
}